<?php
namespace app\common\customer\validate;


use think\Validate;
use think\validate\ValidateRule as Rule;

class CustomerCombineValidate extends Validate
{
    protected $rule = [
        'keywords' => ['require'],
        'member_id' => ['gt:0'],
        'product_member_id' => ['require', 'gt:0'],
    ];

    protected $message = [
        'keywords.require' => '联系方式必须',
        'member_id.gt' => 'member_id参数错误，请刷新或联系管理员',
        'product_member_id.gt' => '请选择要保留的意向产品'
    ];
}